package com.ypj.indusynergyems.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ypj.indusynergyems.common.database.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 菜单实体
 */
@TableName("menu")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MenuEntity extends BaseEntity {
    @TableField(exist = false)
    private MenuEntity parent;  //父菜单分类
    /**
     * menu_id
     */
    private Integer menuId;

    /**
     * mean_name
     */
    private String menuName;

    /**
     * url
     */
    private String url;

    /**
     * icon
     */
    private String icon;

    /**
     * sort
     */
    private Integer sort;

    /**
     * parent_id
     */
    private int parentId;

    /**
     * is_button
     */
    private Integer isButton;

    /**
     * is_show
     */
    private Integer isShow;




}
